export const imageError = {
  inserted(el, binding) {
    el.src = el.src || binding.value
    el.onerror = function() {
      this.src = binding.value
    }
  }
}
